<template>
    <div class="blog">
        <blog-header></blog-header>
        <router-view></router-view>
    </div>
</template>
<script>
import blog_header from './header.vue'

export default {
    components: {
        'blog-header': blog_header
    }
}

</script>
<style lang="scss">
/* CSS Document */

* {
    margin: 0;
    padding: 0
}

body {
    font: 12px "宋体", Arial, Helvetica, sans-serif;
    color: #756F71
}

img {
    border: 0;
    display: block
}

ul {
    list-style: none;
}

a:link,
a:visited {
    text-decoration: none;
    color: #333;
}

.left {
    float: left;
}

.right {
    float: right;
}

.blank {
    height: 5px;
    overflow: hidden;
    width: 100%;
    margin: auto;
    clear: both
}

.box {
    width: 1000px;
    margin: auto;
    overflow: hidden
}

.blog {
    background: #fff;
}

/* ie */

article {
    width: 1000px;
    margin: 20px auto;
    overflow: hidden
}

aside {
    width: 250px;
}

footer {
    text-align: center;
    line-height: 40px;
    border-top: #E8E8E8 1px solid;
    width: 1000px;
    margin: auto
}


h2.title_tj {
    font: 18px "宋体", Arial, Helvetica, sans-serif;
    color: #444;
    font-weight: bold;
    background: url(./images/h_line.jpg) repeat-x 20px center;
}

h2.title_tj span {
    color: #FE5187
}

h2.title_tj p {
    background: #fff;
    width: 90px
}

.bloglist {
    width: 740px;
    overflow: hidden;
    background: url(./images/r_line.jpg) repeat-y right;
}

.bloglist h3 {
    margin: 20px 0 10px 0;
    color: #333
}

.bloglist figure {
    float: left;
    width: 183px;
}

.bloglist figure img {
    padding: 4px;
    border: #f4f2f2 1px solid;
    width: 175px;
}

.bloglist ul {
    float: left;
    width: 520px;
    margin: 10px 0px 0 15px;
    line-height: 20px;
}

.dateview {
    width: 695px;
    overflow: hidden;
    clear: both;
    margin: 10px 0 0 0;
    display: inline-block;
    background: #f6f6f6 url(./images/time.jpg) 15px center no-repeat;
    line-height: 26px;
    height: 26px;
    color: #838383;
    padding-left: 25px
}

.dateview span {
    margin: 0 10px;
}

.dateview span a {
    color: #099B43;
}

a.readmore {
    background: #fd8a61;
    color: #fff;
    padding: 5px 10px;
    float: right;
    margin: 20px 0 0 0
}

.rank li {
    height: 25px;
    line-height: 25px;
    clear: both;
    padding-left: 5px;
    overflow: hidden;
    padding-left: 15px;
    background: url(./images/li.jpg) no-repeat left center;
}

.rank {
    margin: 10px 0
}

.rank li a {
    color: #333;
}

.paih {
    background: url(./images/ph.jpg) no-repeat left 8px;
    margin: 10px 0
}

.paih li {
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    padding-left: 24px;
    border-bottom: #CCC dotted 1px
}

.website {
    margin: 10px 0;
    background: #F3F3F3;
    border-radius: 50%;
    text-align: center;
}

.website li {
    line-height: 26px;
    text-shadow: #fff 1px 1px 1px;
    height: 26px;
}

.weixin {
    background: url(./images/weixin.jpg) no-repeat;
    width: 100%;
    display: inline-block;
    height: 274px;
    overflow: hidden;
    margin: 10px 0;
    clear: both
}

.page {
    margin: 20px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.page a b {
    color: #999;
}

.page>b,
.page a {
    margin: 0 2px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    width: 26px;
    text-align: center;
    display: inline-block
}

.page a {
    margin: 0 2px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    width: 26px;
    text-align: center;
    display: inline-block
}

.page>b,
.page a:hover {
    background: #333;
    color: #FFF;
}

.page a {
    color: #F33;
    border: #999 1px solid;
}

</style>